

/* 目录树区域 */
.tree-wrapper {
    flex: 1;
    overflow: auto;
    padding: 12px;
    position: relative;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    z-index: 10;
}

.loading i {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

/* Layui树形组件样式覆盖 */
#directoryTree {
    background: transparent;
}

.layui-tree-entry {
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.layui-tree-entry:hover {
    background-color: #f5f5f5;
}

.layui-tree-entry.layui-tree-entryd {
    background-color: #e6f7ff;
}

.layui-tree-txt {
    font-size: 13px;
    color: #333;
}

.layui-tree-iconClick {
    margin-right: 4px;
}

.layui-icon-file,
.layui-icon-addition {
    color: #666;
}
